﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UITesting;
using BackOffice.Context.UltiPro.BackOfficeUIMapClasses;
using Microsoft.VisualStudio.TestTools.UITesting.WinControls;

namespace BackOffice.Context.UltiPro.Controls
{
    /// <summary>
    /// Superfinder
    /// </summary>
    public class SuperFinder
    {
        private static BackOfficeUIMap UIMap
        {
            get
            {
                return new BackOfficeUIMap();
            }
        }

        public WinEdit FindEditBox
        {
            get 
            { 
                return UIMap.UISuperFinderWindow.UISuperFinderClientFindEditBox.FindEditBox; 
            }
        }

        public WinTitleBar UISuperFinderTitleBar
        {
            get 
            { 
                return UIMap.UISuperFinderWindow.UISuperFinderTitleBar; 
            }            
        }
        
        public WinButton UIGOButton
        {
            get 
            {
                return UIMap.UISuperFinderWindow.UISuperFinderClientGO.SuperFinderClientGO.UIGOButton; 
            }           
        }
        
        public WinClient SuperFinderClientEmployeeList
        {
            get 
            { 
                return UIMap.UISuperFinderWindow.UISuperFinderClientEmployeeList.SuperFinderClientEmployeeList; 
            }            
        }
        
        public WinButton UIOKButton
        {
            get 
            { 
                return UIMap.UISuperFinderWindow.UISuperFinderClientOKCANCEL.SuperFinderClientOKCANCEL.UIOKButton; 
            }            
        }

        public UIOrderByComboBox UIOrderByComboBox
        {
            get
            {
                return UIMap.UISuperFinderWindow.UIOrderByComboBox;
            }
        }
    }
}
